I:/Documents/developpement/projets/C/blast/blastguy_wii_2.2/src/main.c File Reference

Blastguy main file. More...

#include <stdlib.h>
#include <time.h>
#include <gccore.h>
#include <fat.h>
#include <wiiuse/wpad.h>
#include <SDL/sdl.h>
#include <SDL/sdl_mixer.h>
#include <SDL/sdl_ttf.h>
#include "game_engine.h"
#include "sound_engine.h"
#include "font_engine.h"
#include "image.h"
#include "map.h"
#include "sprite.h"
#include "unit.h"
#include "bomb.h"
#include "flame.h"
#include "panel.h"
#include "block.h"
#include "sdl_utils.h"
#include "timer.h"

Include dependency graph for main.c:


Defines

#define UNIT_MAX   4

Enumerations

enum  e_H_KEY
 Horizontal keys for wiimote (a quater to the left).

Functions

int state_in_game (SDL_Surface *screen)

Detailed Description

Blastguy main file.

Author:
DREVET Olivier
Date:
September and October 2008
Note:
Published under the GPL 3 license (see license.txt for more info)
Todo:

Define Documentation

#define UNIT_MAX   4

Todo:
use a linked list


Function Documentation

int state_in_game ( SDL_Surface *  screen  ) 

The application is a state machine.

Parameters:
Surface where draw
Returns:
The next game state

Todo:
the disp % is not implemented yet

Todo:
set a victories limit (from 1 to 5) and display a special image if win... for the moment, another battle

Todo:
select action in times up (blocks falling, etc) for the moment, just a draw...


Generated on Tue Nov 4 21:07:19 2008 for Blastgu by  doxygen 1.5.4